﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Linq;

using ProjectBase.Core;

namespace $safeprojectname$
{
    public class TableHeaderCell : ContentControl<ICoreModel, IVisualControl, TableHeaderCell>, ITableRowChild
    {
        // constructor
        public TableHeaderCell(string cssClassName = null, int? colspan = null)
            : base(cssClassName)
        {
            SetAttribute(Attr.ColSpan, colspan.HasValue ? colspan.Value.ToString(CultureInfo.InvariantCulture) : null);
        }

        // properties
        protected override string TagName
        {
            get { return Tag.TableHeaderCell; }
        }
    }
}